
<div id="login_form">
  <% if flash[:notice] %>
  <h1><%= flash[:notice] %></h1>
  <%  end %>
  
  <form action="login" method="post">
    <div class="filed">
      <label>用户名：</label> <input type="text" name="name" />
    </div>
    <div class="filed">
      <label>用户密码：</label><input type="password" name="pwd" />
    </div>
    <input type="submit" value="登录" />
  </form>
</div>